import socket
import time

if __name__ == '__main__':
    host = ''
    port = 2010
    
    s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
    s.bind((host,port))
    while 1:
        msg,addr = s.recvfrom(63000)

        print msg,
        print "got data from ", addr
        print 'len', len(msg)
